package com.nuoniu.sibanyun.entity.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName CrmBusinessBo
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/8/8 11:25
 **/
@Data
public class CrmBusinessBo {
    @ApiModelProperty(value = "商机编号")
    @TableField("project_no")
    private String projectNo;

    @ApiModelProperty(value = "商机标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "客户id")
    @TableField("crm_id")
    private Integer crmId;

    @ApiModelProperty(value = "客户名称")
    @TableField("crm_name")
    private String crmName;

    @ApiModelProperty(value = "商机类型1:新加盟2:老客户续签")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "销售阶段1:初步接洽2:需求确定3:方案/报价4:赢单5:输单")
    @TableField("sale_stage")
    private String saleStage;

    @ApiModelProperty(value = "商机获取日期")
    @TableField("get_date")
    private LocalDate getDate;

    @ApiModelProperty(value = "项目负责人Id")
    @TableField("charge_man_id")
    private Integer chargeManId;


    @ApiModelProperty(value = "项目负责人姓名")
    @TableField("charge_man_name")
    private String chargeManName;

    @ApiModelProperty(value = "预计收入")
    @TableField("anticipated_revenue")
    private BigDecimal anticipatedRevenue;

    @ApiModelProperty(value = "进行状态：正在进行 赢单 输单")
    @TableField("going_status")
    private String goingStatus;


    @ApiModelProperty(value = "销售阶段的下标")
    private Integer saleStageIndex;


}
